<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>部门信息</title>
</head>

<body>

<?php if($department): ?>

<h1 style="text-align:center">系统检测到您的位置是<font color="#FF0000"><?php echo $department['name'];?></font></h1>
<div style="width:100%; text-align:center">
            	<a href="/survey?department_id=<?php echo $department['id'];?>" target="_blank">网上评价</a>
                <a href="/survey/stat?department_id=<?php echo $department['id'];?>" target="_blank">评价统计</a>
            	<a href="/comment?department_id=<?php echo $department['id']; ?>" target="_blank">查看留言</a>
                <a href="/comment/create?department_id=<?php echo $department['id'];?>" target="_blank">发表留言</a>
</div>
<?php else: ?>
<h1 style="text-align:center">系统没有检测到您所在的伙食单位信息</h1>
<div style="width:100%; text-align:center">
	您可以点击左侧的单位列表查看各单位信息
</div>
<?php endif;?>

</body>
</html>
